package com.fuxian.service;

import java.util.List;

import com.fuxian.model.User;

public interface UserService {

	public abstract boolean login(String userName, String pwd);

	public abstract boolean isExistUser(String userName);

	public abstract void addUser(User user);

	public abstract boolean register(String userName, String pwd,
			String phoneNo, String qqNo);

	public abstract boolean changPwd(String userName,String pwd);
	public abstract void deleteUserById(int id);

	public abstract void modifyUser(User user);

	public abstract User selectUserById(int id);

	public abstract User selectUserByUserName(String userName);

	public abstract User selectUserByUserNamePwd(User user);

	public abstract List<User> selectUsersByStatus(String status,int start,int size);

	public abstract List<User> selectUsersByuType(String uType,int start,int size);

	public abstract List<User> selectAllUsers(int start,int size);
	public abstract int selectCount();
	//public abstract List<User> selectAllUsers();
}
